var n;
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.PlatformMgr = undefined;
var SingletonManager = require("AA_SingletonManager");
var r = [cc.sys.WECHAT_GAME, cc.sys.ALIPAY_GAME, cc.sys.QTT_GAME, cc.sys.BYTEDANCE_GAME, cc.sys.HUAWEI_GAME, cc.sys.OPPO_GAME, cc.sys.VIVO_GAME, cc.sys.XIAOMI_GAME, cc.sys.BAIDU_GAME, cc.sys.JKW_GAME, cc.sys.LINKSURE];
var c = function (e) {
  function t() {
    return null !== e && e.apply(this, arguments) || this;
  }
  __extends(t, e);
  t.prototype.isMiniGame = function () {
    return r.includes(cc.sys.platform);
  };
  t.prototype.isWxGame = function () {
    return cc.sys.platform === cc.sys.WECHAT_GAME;
  };
  t.prototype.isDyGame = function () {
    return cc.sys.platform === cc.sys.BYTEDANCE_GAME;
  };
  t.prototype.isBrowser = function () {
    return cc.sys.isBrowser;
  };
  return t;
}(SingletonManager.SingletonMgr);
exports.PlatformMgr = c.getInstance();